<?php
namespace Hive\Mission;
/**
 * Mission Type,
 * 
 * It represent a type of job for a mission
 *
 * @author Xavier VILAIN
 * @package Hive\Mission
 *
 * @property string	$type			Id of the job type (auto)
 * @property string	$language		Language
 * @property int	$grouping		Id of the grouping
 * @property string	$label			Label
 * 
 */
class JobType  extends \Fox\Object {

	/**
	 * Reverse Link to Missions
	 * @var string
	 */
	const LINK_MISSIONS = "missions";
			
	
}
\Fox\Dao::infos(
	JobType::className(),
	new \Fox\Object\Info('mission_jobtypes', \Fox\Databases::DB_APP)
);

\Fox\Dao::useZone(JobType::className(),new \Fox\Dao\DiskTimeCacheZone(\Fox\Dao\DiskTimeCacheZone::PERIOD_FOREVER,JobType::cacheDirectory()));

